Closes all currently open windows. If any of the windows is the last into a project and changes have been made since the most recent save of this project, the user is prompted to save it before the window is closed.